code: function xgminer(host, port, options) {
    this.host = host || this.defaults.host;
    this.port = port || this.defaults.port;
    this.options = this.defaults;
  
    if (options) {
      _.defaults(this.options, options);
    }
  }
docs: Create an instance of xgminer.
  
  @param {Name} name
  @param {Host} host
  @param {Port} port
  @param {Options} options