Implement MarshalBinary for Message