added http compression (gzipping)