code: def send_remote_port(self):
          
          msg = "REMOTE TCP %s" % (str(self.transport.getPeer().port))
          self.send_line(msg)
docs: Sends the remote port mapped for the connection.
          This port is surprisingly often the same as the locally
          bound port for an endpoint because a lot of NAT types
          preserve the port.