changes to support ssl with invalid certs