'Init the handler'

def __init__(self, *args, **kwargs):

    super(PortalSessionHandler, self).__init__(*args, **kwargs)
    self.portal = None
    self.latest_sessid = 0
    self.uptime = time.time()
    self.connection_time = 0
    self.connection_last = self.uptime
    self.connection_task = None
    self.command_counter = 0
    self.command_counter_reset = self.uptime
    self.command_overflow = False
