add beforeProxy option to handle request before send to proxy

https://github.com/spmjs/spm-server/issues/4
还是 follow 吧，比如 http 跳 https 还是挺常见的