code: public void setProxy(URI proxy) {
          this.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY, new HttpHost(proxy.getHost(), proxy.getPort(), proxy.getScheme()));
      }
docs: Set the unauthenticated proxy server to use.  By default no proxy is configured.
  
  @param proxy The proxy server, e.g. {@code new URI("http://my.proxy.com:8000")}