Add TLS connection support

Also update the example config to be safe by default.
Merge pull request #15 from twm/tls

Add TLS connection support