Adding supporting for calling URL with invalid SSL cert