unix: getnameinfo implementation for #852

Cancelable getnameinfo.