WAI Middleware for stateless session