Add a heap stats module which reports memory usage across a request