add APNS command 2 support, for ios 8