CVE-2017-12151: s3:libsmb: add cli_state_is_encryption_on() helper function