Add parseSingleMessage to StreamParser