code: function(isGlobal, server, msg, session, cb) {
    var fm;
    if(isGlobal) {
      fm = server.globalFilterService;
    } else {
      fm = server.filterService;
    }
    if(fm) {
      fm.beforeFilter(msg, session, cb);
    } else {
      utils.invokeCallback(cb);
    }
  }
docs: Fire before filter chain if any