Allow for PEM encoded key exchange.  Needs armouring against the user choosing the wrong curve.