add better check for res_hnok(), with inputs from eric@
remove openssl checks leftovers, prompted by eric@