Renamed write_message_t operator<< to serialize.