Use https in Client.php