NewClient now accepts an optional url for redis