2699 - handle error conditions better so disconnected can continue

This change allows the disconnected code to handle URLs that are in
the manifest but not at the CDN which can occur.
fix swapped variables so we properly send the key and secret
Merge pull request #13 from mccun934/2699-fix-error-handling

2699 - handle error conditions better so disconnected can continue