Small TLS improvements

- ability to set DH parameters enabling DH key exchange
- use SSL_OP_NO_COMPRESSION instead of modifing global OpenSSL compression methods stack
- some ifndefs fixed