First draft of the ECDHagent class