WIP on audit logging middleware.

Provides a way for trex apps to log data about all requests and
responses, as part of a wider project about providing better audit
logging across all trex apps.