docs: function restifyRequestHandler(client, config, req, res, next) {
    var listener = {};
  
    if (isObject(res) && isFunction(res.on) && isFunction(res.removeListener)) {
  
      listener = function() {
  
        restifyRequestFinishHandler(client, config, req, res);
        res.removeListener('finish', listener);
      };
  
      res.on('finish', listener);
    }
  
    return next();
  }