Simple Statistics middleware for logging message/worker information.
Adding default (in-memory) statistics logging for messages processing and retries.
Expose the statistics api and access via the .stats method.