retarget the xhr event target to point at the proxy
Merge pull request #482 from zhaoz/master

retarget the xhr event target to point at the proxy