Fixes #82338: Improved handling of getcapabilites request responses.
Merge pull request #100 from luisromangz/8.5-SNAPSHOT-82338

Fixes #82338: Improved handling of getcapabilites request responses.