Secures requests by only allowing a whitelist of Host values
Allows events to be registered and passed through middleware.
Handles internal change detection via etag / ifmodifiedsince headers, conditonally sending a 304 not modified if possible.
Display execution metricts for the current request if in dev mode and
execmetricis provided as a request variable.
Triggers a call to flush() on all implementors of Flushable.
Adds middleware support to an object.
Decorates a request handler with the HTTP Middleware pattern
This middleware will rewrite headers that provide IP and host details from an upstream proxy.
HTTP Request middleware Based on https://github.com/php-fig/fig-standards/blob/master/proposed/http-middleware/middleware.md#21-psrhttpservermiddlewaremiddlewareinterface