Parse url database # into Number

Currently logs a warning:

```
Warning: connect-redis expects a number for the "db" option
```

This correctly parses the 'db' param into a number.