declared HTTPResponse with Qt's meta type system and changed the write() signal of HTTPRequestHandler to pass by value