fix WebHeaderCollection and X509Certificate2 function overloads