changed key exchange to Diffie-Hellman
implemented SMP MITM detection and removed fingerprint dialogs
added numbered messages for replay attack detection