PROTON-660: Fix openssl.c build on windows

For macro issues, use workaround from http://rt.openssl.org/Ticket/Display.html?id=3031
replace strcasecmp with !pn_i_eq_nocase
replace strncasecmp with !pn_i_eq_n_nocase