adding $db_slave_url support
Support an array of replication servers.