unix, windows: add common uv_udp_* error checking
darwin: fix up uv_setup_args