Middleware for flags

fao @commuterjoy @wheresrhys 
Sorry, missed that - perhaps it's simpler if developers just set their X-Flags header?