add gz support without curl