support connecting to redis via url vs. host/port