Miscellaneous utilities.
Define a middleware that operates on outgoing responses.
Define a middleware that operates on incoming requests.