Fix gethostbyaddr