Added support for Diffie Hellman algorithms.
If STARTTLS is not enabled, the STARTTLS commands should be disabled. Using them always results in a failed handshake.