tls socket test work