fix bug: passing non string data to _apns_pack_message