Rack middleware which handles php session files