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
Merge pull request #1076 from SobanVuex/dev

Update Redis adapter