Now the proxy works for all of the http verbs. But had to remove the express.bodyParser because it was messing with the proxy, to add it back the proxy has to be moved to the express config: https://github.com/nodejitsu/node-http-proxy/issues/180
Changed the if statements so that they follow the coding standards set in the README.md file. (NO NEWLINE IF YOU DON'T USE BRACKETS)