check the payload size for APNS. Trying to fix #24