error checking in incoming connections, adding support for passing redis server on start