[sr-dev] git:master:d5c1b469: core: parse main headers after updating msg buffer