Update apns and fix issue #528

- Update apns library for Apple Push Notification
- #528