DiffieHellman handshake implemented