apns: Fix bad reference to max notification size

Fixes #93
Thanks, Jay Camp
fix APNS sending after introduction of APNS_MAX_NOTIFICATION_SIZE
added support for GCM time_to_live parameter