handshake: Fix for signature on payloads