handle GET redirects over http

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