This will cause npm to attempt to install hiredis when installing redis, but if the hiredis installation fails, it won't cause the redis install to abort. The optionalDependencies feature was added pretty much explicitly for the redis->hiredis use case. :)
…onnect. Also fixes bug with re-selecting db when auth is required. Still needs a test for pub/sub reconnect and monitor reconnect.