[This is preliminary documentation and is subject to change.]
Creates a new Message read from a Stream, if one is available.
- stream (Stream)
- The Stream to read from.
The created message, or null if no message was in the
stream.