code: public void setHttpProxy(String host) {
      setProxyValue(HTTP_SERVER, host);
      setProxyValue(USE_HTTP, host != null);
    }
docs: Specify which proxy to use for HTTP connections.
  
  @param host the proxy host, expected format is <code>hostname:1234</code>