Merge pull request #18 from evolution7/master

Added proxy support.
Use the shouldNotify config method to check if the error should be sent

This fixes the problem that the setNotifyStages method had no impact
Added unit tests to see if shouldNotify is being called