client-handshake: report identity error