fix tls_handshake.py test to work with ooniprobe

This test was an anonymous contribution which is only called as a separate script. It needs to be ported to be an ooni nettest.