proxy support

Hi, thanks for you great work.

I added proxy support. It's working fine for me.
please check and include.

thanks.