Made some prototypes for key agreement stuff in Client