implemented phpredis c-wrapper