add uv udp try send

Please review the commits and give me comments on them.
We are a bit inconsistent with sizeof, I agree. Both are actually correct in this case so I personally don't mind which one we use.