Rack middleware that injects a message in html responses