protected function addHost($type, array $options, $master_as_slave = true)
    {
        $this->hosts[$type][] = $options;

        if ($type == \Octris\Db::DB_MASTER && $master_as_slave) {
            $this->hosts[\Octris\Db::DB_SLAVE][] = $options;
        }
    }