No, there is no guarantee it'll work: this will fail if Unsafe-based codec is not available.
But I did miss the indirection via `ThreadLocal`, so I realize why it is important to do it more lazily.

I guess it is ok to leave it as is for now; and only figure out a work-around if someone needs to use Vanilla encoder.