refactoring of XPathCheckBuilders to make it more reusable for different protocols, for now http&jms