Update Redis adapter

- Add host/socket connection conditions
- Fixes PHP undefined offset notice - Redis.php:97
- Tests