Compression Cleanup

* Don't enable compression debugging by default
* Add new metrics module to centralize protocol metrics
* Cleanup functions used to reset or flush context states