Example Varnish configuration for serving pre-rendered HTML from Javascript pages/apps using http://prerender.io/