freeswitch plugin: Added initial pthread stuff