Sample downstream caching key construction.

Adding a nginx conf snippet for constructing a proxy_cache_key based on the UserAgent and expected optimizations for that UserAgent class. Also bypassing the cache for all other cases.

(Fixing the startup phase of the nginx server to put out the original error message in case of failure.)