Use the current modules/http/compression.c The first use case of the result can be https://github.com/syslog-ng/syslog-ng/pull/5232