code: function HTTPOptions(options) {
    if (!(this instanceof HTTPOptions))
      return new HTTPOptions(options);
  
    this.network = Network.primary;
    this.logger = null;
    this.node = null;
    this.apiKey = base58.encode(random.randomBytes(20));
    this.apiHash = digest.hash256(Buffer.from(this.apiKey, 'ascii'));
    this.noAuth = false;
  
    this.prefix = null;
    this.host = '127.0.0.1';
    this.port = 8080;
    this.ssl = false;
    this.keyFile = null;
    this.certFile = null;
  
    this.fromOptions(options);
  }
docs: HTTPOptions
  @alias module:http.HTTPOptions
  @constructor
  @param {Object} options