[REVERT ME] Add debug code to observe allocations at runtime Based on code from uriparser (file UriMemory.c).