WSGI middleware to support nginx’s X-Accel-Redirect