quick and dirty hack around a misbehaving gethostbyaddr()