Modified HttpRequest and WebSocket class.