io.sockets: add word addrinfo-error to signal host lookup failures

If the getaddrinfo call fails, and you want to handle that failure in
a structured way, then you need a designated error type to know what
went wrong.
io.sockets: don't need "0 or" for addrinfo.