Fixed issue with including http:// in proxy URL

Fixes #11117