A thread based C program that fires cURL requests to ruby pocketsphinx server