code: function getset(key, value, req) {
    var val = this.getKey(key, req);
    this.setKey(key, value, undefined, undefined, undefined, req);
    return val || null;
  }
docs: Set a key to value and retrieve the old value.