Message chain parsing