[v22.x backport] lib: backport _tls_common and _tls_wrap refactors
#51606
Loading
_tls_common and _tls_wrap refactors
#51606