I need an example of TLS encrypted communication

Godot Version

4.2

Question

I need an example of TLS encrypted communication
My client needs to connect to port 8899 on 127.0.0.1