parser for message; begin parser for segments