#299
Add a receive timeout in the UDP connect function.
Stop ignoring EWOULDBLOCK errors.