Bug 1020827 - Allow to fallback to S3 when S3-like storage fails. r=mshal

The intent is to be able to use a proxy server in front of S3, and fallback
to S3 if the proxy server fails for some reason.