Ignore SSL errors.
Accept more SSL certs.
Send image to ImageMagick and then through OptiPNG