MULE-8028 - adding support for mule client in http connector

This is only done during initialisation. This will not affect the performance.