drone/drone — pull request #599 by bradrydzewski (2014-10-20 09:36:06+00:00)
Title: Updated Docker Client to accept TLS

The goal of this pull request is to enable Drone to connect to Docker using TLS. This would allow us to **securely** connect to remote Docker daemons and enable distributed builds across one or many servers.

- [x] ability to provide custom transport
- [x] ability to pass tls cert and key
- [ ] remove hard-coded `http` from `Client.scheme`
- [ ] cleanup the `New`, `NewHost` and `NewClient`
- [ ] alter tls client and cert to be file content (byte arrays), not file paths
- [ ] adequate testing