FastCGI web service in C