tls: Check for minimal TLS record length before each record iteration