add uv udp try send

Please review the commits and give me comments on them.
Drop braces for single statement ifs.