added diffie-hellman parameter functions. allows using DHE-* cipher suites