code: public void setProxy(String proxyHost, int proxyPort) {
           this.proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, proxyPort));
       }
docs: Sets an HTTP proxy server configuration for this client.
  
  @param proxyHost The proxy hostname or IP address.
  @param proxyPort The proxy port number.