foreign_id is binary--now reading it as bytes.
Beginnings of the SqlMessageStore tests.