mitmproxy helper functions. mitmproxy writes to a file in realtime, so you can just check the file whenever you want. Source: platform-helpers/mitmproxy-helper.js, line 26