[PATCH 5/5] udp: Handle errors on UDP sockets