[PATCH 5.5 008/176] net/tls: Fix to avoid gettig invalid tls record