Added a use_proxy option to get_url.

Re-submitting with only the use_proxy option, and no proxy option, as per discussion in pull request # 2267