Add TLS support

Supersedes https://github.com/rafecolton/docker-builder/pull/144

Thanks @jszwedko for contributing!