added gzip support for php-curl