Add proxy support
Merge pull request #33 from xfalcox/master

Add proxy support. Fixes #31