This method is not defined in BaseHandler, but subclasses should define it if they want to pre-process requests of the given protocol.
BaseHandler.<protocol>_request(req)