redis: Normalize RedisAddress factory as a single string
This PR normalize the RedisAddress to make it properly work.
I also think it makes the code more obvious.
- Only do the parsing inside
factory(the constructor should not be called from outside) - Properly distinguish
portandsock - The case
localhost:2000was not properly handled, falling down asunix://2000url - Convert
portinto int
(cherry picked from commit 2405c56a)
Edited by Valentin Valls