'Return the IPv4 address of the client which made this request, if there
is one, otherwise L{None}.'

def getClientIP(self):

    if isinstance(self.client, IPv4Address):
        return self.client.host
    return None
