a self contained mitm proxy and test that uses simplehtmlserver that does not hang and also injects