Add application-specific performance counter handling to HTTS to make it easier to
manage the output style.
Add utility RAII class that activates performance counters.