pub type BoxedSocketRx = Pin<Box<dyn Stream<Item = Result<SocketMessage, BoxError>> + Send + Sync + 'static>>;
A boxed stream that yields socket messages.