redisdb: convert port string to integer

This avoids the following exception on some setups:
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
TypeError: an integer is required
Merge pull request #600 from sgrankin/master

redisdb: convert port string to integer