Added debug logging to the ApnsClientThread.