Fixed issue with including http:// in proxy URL

Fixes #11117

https://github.com/ariya/phantomjs/issues/11117