TLS support

This is waiting on a docker-py release with https://github.com/docker/docker-py/pull/352 merged.