mitmproxy/examples/addons/scripting.py