Modern APNs push communication format implementation with priority support

Old version uses Command 1: http://tinyurl.com/TheBinaryInterfaceAndNotif
This version uses Comman 2: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/CommunicatingWIthAPS.html

In Command 2 version message priority support was added.
> The notification’s priority. Provide one of the following values:
>  - 10 The push message is sent immediately.
>     The push notification must trigger an alert, sound, or badge on the device. It is an error to use this priority for a push that contains only the content-available key.
>  - 5 The push message is sent at a time that conserves power on the device receiving it.