fix check for https protocol

 to enable relaxed https validation in RestAssured.