Initial message parsing