add beforeProxy option to handle request before send to proxy
Merge pull request #2 from sorrycc/master

add beforeProxy option to handle request before send to proxy