support for set ex/px/nx/xx for redis 2.6.12 and up