Fix SSL errors for images in development