See https://github.com/rustls/rustls/issues/2362 for background. I plan to work on this as part of integrating KTLS into https://github.com/rustls/rustls-openssl-compat.