Rack middleware to add information to request headers or body