[fabbione/kronosnet] f8faa8: knet: improve strtoaddr using getaddrinfo