code: function __Cookies(_cookies) {
    this.cookies = {};
    if (!_cookies || typeof _cookies !== 'string') {
      _cookies = '';
    }
  
    if (_cookies && _cookies.length) {
      var self = this;
      var i;
      var key;
      var val;
  
      _cookies.split(/;\ */).forEach(function (pair) {
        i = pair.indexOf('=');
        if (i < 0) {
          return;
        }
  
        key = unescape(pair.substr(0, i).trim());
        val = pair.substr(++i, pair.length).trim();
  
        if (val[0] === '"') {
          val = val.slice(1, -1);
        }
  
        if (self.cookies[key] === void 0) {
          try {
            self.cookies[key] = unescape(val);
          } catch (e) {
            self.cookies[key] = val;
          }
        }
      });
    }
  }
docs: /*
  @locus Client
  @class __Cookies
  @param _cookies {Object|String} - Current cookies as String or Object
  @summary Internal Class