[sr-dev] git:5.0:a3d3ea83: dialog: parse all headers before getting the message attributes for dialog