added wrapper around FCGI and CGI to create valid CGI object