connect the UDP socket to simplify code and get ICMP errors