added ability to serve gzipped assets (taken from another gem)