server-client handshake working ok