redis: fail fast for invalid network address