adding gzip support, #41