pub fn write_message<W: Write>( stream: &mut W, msg: &Msg, tracker: Arc<Tracker> ) -> Result<(), Error>