1. 12

This falls into the category of “Why didn’t I do that?”

  1.  

  2. 3

    Looks similar to mitmproxy, which I’ve found very useful.