MULE-7656 Allow Jetty connector implementation to be customized

- Refactor test
Merge pull request #786 from mulesoft/MULE-7656

MULE-7656 Allow Jetty connector implementation to be customized