Fix race condition in ssl_parse_serverhello_tlsext