gzip compression taken from feedthebot.com