Merge tls1_check_curve into tls1_check_group_id