fixed: web query fails if network uses proxy

I've fixed internet connection when proxy is in use. Can you pull this fix into mainstream?