Allow setup_proxy to use URIs