abstract redis connection details to simplify listener code
collection of common functions
moved SockethubError to util.js