add config options for cache-control max-age and expires header
add better error handling and remote content checks
add check for status 404 to validateRemoteSource()
update tests for validateRemoteSource()