[Work in progress] ECDH for SSH

Works, but partially suboptimal.