Add extension to images e added token to safety.

Add extesion to imagens saved with proxy to prevent blocking of unknown files from the server (eg.: IIS).

Added key to prevent two or more clients when accessing the proxy does not cause conflict to save the image.