gethostbyname small fixes...