added binding for handshake so it can be done only after handler setup