Adapt CIPHER_DEBUG to the new generic trace API