converted the internals of HTTPResponse to QByteArray and properly implemented the responseWritten() mechanism
properly parsing the request method
closing the connection when the client request contains an unkown method