Tried to add the ability to ignore certificate warnings.