XmlOverTcpProtocol.gen_request_id() should be classmethod, not staticmethod