Made hive client handle insecure https connections