added http proxy, prepared for http redirect on 302 issue #2