Version handshake

addresses #166