MULE-7557 Implemented HTTPS functionality using new version of HttpClient and fix multiple failing tests