This makes the tests succeed when using --disable-proxy. Closes https://github.com/curl/curl/pull/4488
Reproduced bug #3649 Closes #3659