code: function (req) {
  	var cookie = SR.REST.getCookie(req.headers.cookie);
  	var session = SR.EventManager.getSession(cookie);
  	return session;
  }
docs: get session value based on request object's cookie TODO: make this SR function?