Make the THttpServer::ProcessRequest() method virtual