Add SSL host validation check to X509_V_OK code path