S5C3: implement DH with negotiated groups, and break with malicious g parameters.