code: static public DatabaseClient newClient(String host, int port, String database, SecurityContext securityContext) {
      return newClient(host, port, database, securityContext, null);
    }
docs: Creates a client to access the database by means of a REST server.
  
  The CallManager interface can only call an endpoint for the configured content database
  of the appserver. You cannot specify the database when constructing a client for working
  with a CallManager.
  
  @param host the host with the REST server
  @param port the port for the REST server
  @param database the database to access (default: configured database for
  the REST server)
  @param securityContext the security context created depending upon the
  authentication type - BasicAuthContext, DigestAuthContext or KerberosAuthContext
  and communication channel type (SSL)
  @return a new client for making database requests