Fixes #82338: Improved handling of getcapabilites request responses.