add protobuf rootMsg support