refactor: undefined check for tls_wrap
The if-else
check is very long and redundant, I think we can refactor it with ??
operator.
Benchmark for this module is required, let's see whether this patch would have a negative effect on performance or not.