Better error handling for the media API
Handle HTTP 429 Slow Down and HTTP 401 Unauthorized for media upload and download, just like for the rest of the CS API calls
Handle HTTP 429 Slow Down and HTTP 401 Unauthorized for media upload and download, just like for the rest of the CS API calls