Allow custom TLS options (fix #181)
Merge pull request #182 from lmtm/tls-compat

Allow custom TLS options