support proxy

I want to fix #16 too.

I know other pull request which resolve this problem.
I'm fine with either.
I want to use this plugin behind proxy,so please confirm.