tls: fix some nits