'Return the client address formatted for logging.
This version looks up the full hostname using gethostbyaddr(),
and tries to find a name that contains at least one dot.'

def address_string(self):

    (host, port) = self.client_address[:2]
    return socket.getfqdn(host)
