add proxy support
Merge pull request #11 from srlochen/master

add proxy support