Huge thanks for that workaround. Helped me find a solution that works on linux as well. Simply create a python file with this content, for example bypass_ssl.py:
class BypassSSL:
def request(self, flow):
flow.request.headers["Accept-Encoding"] = "gzip, deflate"
def...