code: function ManagementService (hostInfo) {
    if (!hostInfo.hostname) {
      throw new TypeError('Hostname is required for management service requests')
    }
    if (!hostInfo.user) {
      throw new TypeError('User name is required for management service requests')
    }
    if (!hostInfo.password) {
      throw new TypeError('Password is required for management service requests')
    }
    this.hostname = hostInfo.hostname
    this.port = hostInfo.port || ManagementService.DEFAULT_PORT
    this.auth = hostInfo.user + ':' + hostInfo.password
    this.trustStoreFile = hostInfo.truststore
  }
docs: Host info for the management service
  @typedef {Object} ManagementServiceHostInfo
  @property {String} hostname - Name of the host where the management
  service resides.
  @property {String} user - Username to run remote commands as.
  @property {String} password - Password for the management service user.
  @property {String} [port=8443] - Port at which the management service
  resides.
  @property {String} [truststore] - Location of a file of CA certificates
  to use when verifying the management service's certificate. If no value is
  specified, no validation of the management service's certificate is
  performed.
  @private
   
  @classdesc Handles REST invocation of a management service.
  @param {ManagementServiceHostInfo} hostInfo - Options for the management
  service host.
  @constructor
  @private