utils.h - ternary fix
netutils.h - netutils cleanup

Cleaning up netutils functions, minor modifications to others where needed.
netutils.c - netutils cleanup

Cleaning up netutils functions, minor modifications to others where needed.
nsca.c - netutils cleanup

Cleaning up netutils functions, minor modifications to others where needed.
send_nsca.c - netutils cleanup

Cleaning up netutils functions, minor modifications to others where needed.