Add support for switching the daemon logger.
Catch IOError in apns connection.
Add test case for IOError catch.
Merge pull request #129 from wilg/master

APNS: Don't validate presence of alert, badge, or sound.
Merge pull request #126 from equinux/logger

Add support for switching the daemon logger.
Merge pull request #2 from ileitch/master

merge