add supprot for specifying DB index for connections (will use SELECT) to allow separate keyspaces