Remove any trailing slash from url

Sometimes redis urls are given with a trailing slash (such as on Redis To Go),
this allows these urls to parse.