don't forget to set ai_next in getaddrinfo, and use emcc in test_getaddrinfo as it now needs libc