Update Redis adapter

- Add host/socket connection conditions
- Fixes PHP undefined offset notice - Redis.php:97
- Add socket configuration for redis and restart it
- Tests