Simple Rack middleware for tracking object allocations per request