gzip support. fix #241

rt