configurable use of TLS
Merge pull request #127 from lathonez/master

configurable use of TLS