How does Charles handle gzip,deflate?
I use a short shell script for MITM.
It simply runs two socats and netsed in between them.
I create ca.pem and server2.pem with openssl, install ca.pem on my device and sign server2.pem with ca.pem.
I redirect traffic from device to my computer running the script.
Low complexity, works reliably, costs me nothing.
Downside is it only does one remote site at a time.
sslsplit works well too but it does not handle gzip,deflate.