'Initialize protocol with some things that need to be in place
already before connecting both on portal and server.'

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

    self.send_batch_counter = 0
    self.send_reset_time = time.time()
    self.send_mode = True
    self.send_task = None
