(_get_address_family): default to AF_INET socket when getaddrinfo fails (naive fix for failing test suite)