add proxy support
Merge pull request #4 from tamird/master

Add proxy support