Represent raw messages as a namedtuple.

Another fine example of a place where namedtuples lend more clarity to
the code.
Fix a bad cherry-pick.