monitor: Fixed compress issues

HTTP monitoring returnes non-deflate statistics with deflate header at v2.26.3.20.
This pull request fixes that issue and makes fix for compressing replies simpler and more convenient.