Rack middleware to handle cookie session. Designed to be compatible with node / connect.js cookie session middleware