tools/client: Simplify the socket code
tools/client: Simplify the socket code

By using getaddrinfo(3) we can massively simplify the setting up of the
socket in an address family agnostic manner.

Signed-off-by: Andrew Clayton <02e0a999c50b1f88df7a8f5a04e1b76b35ea6a88@zeta.digital-domain.net>

ac000/udp-fwder