function Client(opts) {
  events.EventEmitter.call(this);
  this.parseOptions(opts);
  this.initState();
  this.createConnection();
}
/**
 * Initialize a client with the appropriate options.
 *
 * @param {Mixed} opts
 * @api public
 */
Initialize a client with the appropriate options.
@param {Mixed} opts
@api public
Initialize a client with the appropriate options . @param { Mixed } opts @api public
function Client(opts) {
  events.EventEmitter.call(this);
  this.parseOptions(opts);
  this.initState();
  this.createConnection();
}
function Client ( opts ) { events . EventEmitter . call ( this ) ; this . parseOptions ( opts ) ; this . initState ( ) ; this . createConnection ( ) ; }
Initialize a client with the appropriate options.
Initialize a client with the appropriate options .