cosacs test routines now check target hostname or address using gethostbyname
through the low level socket interface.