code: public void addProxy(String protocol, String host, int port, String username, String password,
                         int socketTimeout, int connectTimeout, int connectionRequestTimeout) {
      Proxy proxy = new Proxy(protocol, host, port, username, password, socketTimeout, connectTimeout, connectionRequestTimeout);
      proxies.add(proxy);
    }
docs: Add a proxy server through which to make requests