This example shows how to create a "middleware" - code which runs before and after every request.
It shows how to:
- run code before every request - to block requests from certain IP addresses.
- run code after every request - to add a custom HTTP header.