Sending UDP on macOS fails

Also, as this is pretty clearly a bug, a PR (again, via Github) is always welcome!