TLS support
Merge pull request #2 from brianstarke/tls

TLS support