[sr-dev] git:5.5:992c5a34: core: parse main headers after updating msg buffer