Implement basic CGI functionality including environment variable setup for REQUEST_METHOD, QUERY_STRING, CONTENT_TYPE, CONTENT_LENGTH, PATH_INFO, SCRIPT_NAME, SERVER_PROTOCOL, SERVER_SOFTWARE, GATEWAY_INTERFACE, and SERVER_PORT. The implementation passes CGI environment variables to the child process and handles basic request routing. Note: this is an untested initial implementation that requires further validation.