factor out Message#raw_from