Add TLS-Support

Fixes #25 

Currently with Go 1.0 API in tests until Travis CI supports Go 1.1