Added -k option to enable/disable insecure SSL connections