Handle handshake-error on the client.