add gzip handle when opener open a url; bug fixes