Client library for APNs