def get(url)
      stdin, stdout, stderr, t = Open3.popen3(curl_get_cmd(url))
      output = encode_utf8(stdout.read).strip
      error = encode_utf8(stderr.read).strip
      if !error.nil? && !error.empty?
        if error.include? "SSL"
          raise FaviconParty::Curl::SSLError.new(error)
        elsif error.include? "Couldn't resolve host"
          raise FaviconParty::Curl::DNSError.new(error)
        else
          raise FaviconParty::CurlError.new(error)
        end
      end
      output
    end
def get(url)
      stdin, stdout, stderr, t = Open3.popen3(curl_get_cmd(url))
      output = encode_utf8(stdout.read).strip
      error = encode_utf8(stderr.read).strip
      if !error.nil? && !error.empty?
        if error.include? "SSL"
          raise FaviconParty::Curl::SSLError.new(error)
        elsif error.include? "Couldn't resolve host"
          raise FaviconParty::Curl::DNSError.new(error)
        else
          raise FaviconParty::CurlError.new(error)
        end
      end
      output
    end
Encodes output as utf8 - Not for binary http responses