feat(js/azure/handler.xhr.js): Handle upload failures & attempt to auto-retry #1022