-  Add better error handling for corrupt cache files
-  Only replace the /http and /https at the BEGINNING of the path, since for some webservices the /http is used in the url and we don't want to affect all occurances of it
-  Only replace the first occurance of /http/ and /https/ in the request
-  Before attempting to moveTempFiles, make sure the request is successful and not aborted, otherwise we are trying to move non-existen files