Add Rack session and protection support