proxy mode, pt 2

The ReverseProxy code from the standard library doesn't actually
give us the control that we want. Pull it down and rip out what
we don't need, adding tests in the process.
Why? It's helps me a lot when I'm reading over code to have things a little more spaced out. Maybe I'm in the minority here.