Added option to ignore SSL errors