check that query and reply qsections match before parsing the response.