Added key press handshake between server and client