Improve error messages for UDP sockets in Windows.