Add support for HTTPS & Unix sockets

Respect the DOCKER_HOST and DOCKER_CERT_PATH environment variables and
connect to Docker instances over HTTPS or via Unix sockets.
Ah, good catch. Will submit a fix.