Add TLS-Support

Fixes #25

Temporarily with Go 1.0 API until Travis CI supports Go 1.1