cares_wrap: remove unused function getHostByName()

Hasn't been used in ages. Also remove its (already disabled) test.