This makes the tests succeed when using --disable-proxy. Closes https://github.com/curl/curl/pull/4488
... to make it handle for example (RFC violating) embeded spaces. Reported-by: momala454 on github Fixes #4445 Closes #4447