Provides a higher level connect-middleware function that helps define helper functions which manipulate variables in both the session and cookie at the same time.