Bugfixes for issue concerning cgi programs, HTTP Version headers, and keep-alive