code: function sessionMiddleware(req,res,next) {
      return ss.session.strategy.sessionMiddleware? ss.session.strategy.sessionMiddleware(req,res,next) : next();
    }
docs: wrapped to allow using the middleware before the strategy is set