gethostbyname_r is not supported on Mac OS X (but gethostbyname uses thread-local...