parses tcp:// and http:// $DOCKER_HOST env vars