Fix getaddrinfo

backtrace from a failing application at https://gist.github.com/hannesm/1045c4aa2d76df6314e1

problem was that my computer (FreeBSD-CURRENT) had no network connection, thus getaddrinfo wasn't able to resolve