improve #322 so folks can use the proxy or opt out of using the proxy & also specify other protocols on the host name if required (e.g. https)