Install netcat

pkg install nmap

On server start daemon

ncat --ssl --chat -l port &

On client run

ncat --ssl address port