Merge pull request #6788 from yuhaoth/pr/fix-gnutls_anti_replay_fail

TLS 1.3: Fix anti replay fail from GnuTLS