Optional connection via TLS
For Docker-in-Docker (for example, run CI container on Kubernetes and use a sidecar with Docker daemon) scenario it's possible to connect to Dockerd in an external container via TLS-over-TCP.
This MR adds optional tls
feature that uses default TLS connection when DOCKER_TLS_VERIFY
env variable is set to nonempty value.
Edited by Rinat Shigapov