MULE-7985: Changing receiver lookup logic and endpoint registration on H...

...ttpConnector to consider 0.0.0.0 endpoint.
this assertion is repeated many times, in which the only thing different is the argument of the "is" matcher. Extract to a private method which receives such argument