TLS sniffer bugfix