reimplement redisContext with RcppModule as Dirk did