grep -o to the rescue

The original sed command does not work on FreeBSD

I wanted an all in one extraction sed command, but didn't find it, so this line extracts all the hexadecimal representations and the tls_version placeholder and adds the slash before removing the new line characters