allow a tls config to be specified
Merge pull request #14 from ehazlett/allow-tls

allow tls config to be specified