Definitely sounds like an interesting idea, Patrick! I'm actually particularly curious about your SSL MITM stuff. I wasn't aware Selenium fiddled with that, but it makes sense. Does that work across all browsers? Do you know how exactly? I'm curious because we originally built LittleProxy for Lantern (
https://www.getlantern.org), and MITM proxying is particularly useful for getting around some restrictions on traffic we can proxy through App Engine, with App Engine being one of the few things that's consistently unblocked in China (particularly used by GoAgent).
So, a bit of a detour, but I'd love to know more about the above if you happen to know!
-Adam