Set up a CGI environment from an HTTP::Request
