Added optional parameter `socket` to apns_send_bulk_message function.