code: private void initializeConnection(String user, String password, String restApiBaseUrl, String proxyHost, Integer proxyPort, Proxy.Type proxyType, String proxyUser, String proxyPassword) {
  		connection = ClientHelper.createClient(proxyHost, proxyPort, proxyType, proxyUser, proxyPassword).register(HttpAuthenticationFeature.basic(user, password)).target(restApiBaseUrl);
  	}
docs: Initializes the connection.
  @param user The user name in Kiuwan.
  @param password The password in Kiuwan.
  @param restApiBaseUrl Base URL for REST-API.
  @param proxyHost Proxy hostname or address.
  @param proxyPort Port of the proxy.
  @param proxyType Type of the proxy: HTTP/SOCKS/DIRECT.
  @param proxyUser User name to authenticate with the proxy.
  @param proxyPassword Password to authenticate with the proxy.