def upload(options = {})
      if options[:type] && options[:type].to_i != 1
        # Socket client implementation currently supports only text captchas.
        raise DeathByCaptcha::InvalidCaptcha
      end
      response = perform('upload', captcha: options[:raw64])
      DeathByCaptcha::Captcha.new(response)
    end
def upload(options = {})
      if options[:type] && options[:type].to_i != 1
        # Socket client implementation currently supports only text captchas.
        raise DeathByCaptcha::InvalidCaptcha
      end
      response = perform('upload', captcha: options[:raw64])
      DeathByCaptcha::Captcha.new(response)
    end
Upload a captcha to DeathByCaptcha.

 This method will not return the solution. It's only useful if you want to
 implement your own "decode" function.

 @return [DeathByCaptcha::Captcha] The captcha object (not solved yet).