add beforeProxy option to handle request before send to proxy

https://github.com/spmjs/spm-server/issues/4
a.alipayobjects.com/notfound.js
早上访问这个被 redirect 到 err.taobao.com 上了。