Handshake now ensures both parties own corresponding private keys
Removed unchecked conversion warnings