code: func (s *server) Accept() (Session, error) {
  	var sess Session
  	select {
  	case sess = <-s.sessionQueue:
  		return sess, nil
  	case <-s.errorChan:
  		return nil, s.serverError
  	}
  }
docs: // Accept returns newly openend sessions