code: function ServerDetails(x) {
      if (!(this instanceof ServerDetails)) return new ServerDetails(x);
      const v = x.split(':');
      this.hostname = (v[0].length > 0) ? v[0] : '';
      this.port = (v.length > 1) ? Number(v[1]) : 80;
  }
docs: Command line arguments