Implement ZMTP handshake