Split the MessageStream type into a separate module to keep the proto
module focused on protobuf message definitions. The new message_stream module
contains the MessageStream type and its implementation for reading and writing
protobuf messages over a WebSocket connection.
Refactored imports and updated references to MessageStream in the peer and
proto modules to use the new path.