code: @Override
    public void init(String siteurl, String scriptpath) throws Exception {
      ApacheHttpClientConfig config = new DefaultApacheHttpClientConfig();
      config.getProperties().put(ApacheHttpClientConfig.PROPERTY_HANDLE_COOKIES,
          true);
      client = ApacheHttpClient.create(config);
      client.setFollowRedirects(true);
      // org.apache.log4j.Logger.getLogger("httpclient").setLevel(Level.ERROR);
      this.siteurl = siteurl;
      this.scriptPath = scriptpath;
    }
docs: overrideable e.g for SSL configuration
  
  @throws Exception