Middleware that detects when the incoming HTTP request was closed prematurely and sets a property indicating as much.