I only pushed on what i worked on. Make sure to copy this to the http-proxy.cc file to run it. Also, be sure to save a copy of the original. I might have messed some things up...