Modified to accept compressed responses

Added CURLOPT_ENCODING option.