Fix raw requests to work as well as cgi