pkstream/pkstream.c: Use `getaddrinfo' to resolve addresses and services.