[BUGFIX] Do not silently ignore unsupported Redis versions
Redis versions lower than 2.6 cause the set operation to silently fail.
This change optimistically checks the version when the set command
does not return the expected result.
Releases: 3.0, master