Count bytes rather than chars

If there are some chinese worlds in apns message,  `(count serialized) `is not equals `(count (.getBytes serialized))`。