Fixes #16
change the print_fh function so it takes a struct sockaddr * for the host instead of a string
the function now always prints IP addresses