handle GET redirects

Signed-off-by: Victor Vieux <vieux@docker.com>
fix unix socket

Signed-off-by: Victor Vieux <vieux@docker.com>
update timeout

Signed-off-by: Victor Vieux <vieux@docker.com>
use _, _ string

Signed-off-by: Victor Vieux <vieux@docker.com>
Merge pull request #9108 from vieux/handle_redirects

handle GET redirects over HTTP