Is it possible to tunnel a TLS connection inside another TLS connection in Swift?

Hi,

I am trying to tunnel a TLS 1.3 connection inside another TLS 1.2 connection and I am having trouble achieving that. Any recommendations or pointers are very appreciated. Thank you!