add uv udp try send

Please review the commits and give me comments on them.
@saghul I want this function to return the size that has actually been written.

I mean, if it is > 0, the user knows that the packet has been sent, but the user can now check if the packet was truncated using the returned size.