Connect middleware to communicate with FastCGI servers