download: Use an IP address when testing socks support
download: Use an IP address when testing socks support

In order that we can test socks, we have to attempt an HTTP request
in toto.  Unfortunately if the test environment has broken (or
intermittently failing) DNS then this test can fail incorrectly.

By changing the request to an IP address we can check that the
SOCKS proxy is used without needing to rely on the DNS.

Signed-off-by: Daniel Silverstone <3cc17a76d780e0cd3d87bad586a1c53967be5625@digital-scurf.org>

nodakai/rustup.rs,rust-lang/rustup,rust-lang/rustup,nodakai/rustup.rs,nodakai/rustup.rs,nodakai/rustup.rs,rust-lang/rustup,nodakai/rustup.rs,rust-lang/rustup,rust-lang/rustup