add proxy support
Merge pull request #10 from comotion/3.0

add proxy support
Merge proxy support patch into master.