Fix hashing procedure in client<->node handshake