'Resets a variety of client states for a new connection.'

def _reset(self):

    self._queue = deque()
    self._pending = deque()
    self._reset_watchers()
    self._reset_session()
    self.last_zxid = 0
    self._protocol_version = None
