Pass sockaddr by const &, not value
Convert net_udp to range_for
Fix buffer size mismatch on Win32
Remove useless build-breaking assignment on Win32
Fix Win32 build breaks caused by wrong sized std::size_t