refactored HttpRequest into HttpServer messages