code: func (cm *ClientManager) connect(node *ClientNode) {
  	cm.lock.Lock()
  	defer cm.lock.Unlock()
  
  	now := cm.clock.Now()
  	cm.updateRecharge(now)
  	node.corrBufValue = int64(node.params.BufLimit)
  	node.rcLastIntValue = cm.rcLastIntValue
  	node.queueIndex = -1
  	cm.updateCapFactor(now, true)
  	cm.totalConnected += node.params.MinRecharge
  }
docs: // connect should be called when a client is connected, before passing it to any
  // other ClientManager function