Messed up the apns format, fixed now

Totally missed the point of how notifications were being framed
Correctly have this setup now with optional expire time and priority being
excluded if nil
Also a couple of tweaks to reuse buffers
Fixed broken tests