cleanup Diffie-Hellman protocol and added support for trusted public
keys