Remove images from image cache on exit
Remove unnecessary string duplication (http_init creates an internal copy of the proxy string)