working basic handshake, without session restart