def __init__(self, server_port=None):
    'Initialize.\n\n        :param server_port: Int. local port.\n        '
    self.server_port = server_port
    self.logged_requests = {}
    self.analysis = {'total_requests': 0, 'domains': set(), 'duration': 0}
Initialize.

:param server_port: Int. local port.
def __init__(self, server_port=None):
    'Initialize.\n\n        :param server_port: Int. local port.\n        '
    self.server_port = server_port
    self.logged_requests = {}
    self.analysis = {'total_requests': 0, 'domains': set(), 'duration': 0}