Return 0 to Socket.getaddrinfo when 2nd arg is nil