def send_message(self, cmd: ProtocolMessages, payload: Optional[str]=None) -> None:
    self.protocol.send_message(cmd, payload)
def send_message(self, cmd: ProtocolMessages, payload: Optional[str]=None) -> None:
    self.protocol.send_message(cmd, payload)