Make UdpStream block until the next non-empty msg and deprecate it.

Closes #18111

Note that the non-empty part doesn't matter right now because of #18129.