MULE-7656 Allow Jetty connector implementation to be customized

Can you extract the connector class selection logic into a separated method?