Add proxy support
Explicitly pass all arguments
Fix tests
Merge pull request #44 from bugsnag/proxy_support

Add proxy support