add option to ignore SSL error