Implementation of iOS APN (Apple push notification server) mock