start adding redirect handling code

fixing redirect issue
Merge branch 'develop' of https://github.com/fzheng/node-http-proxy into develop