code: public Set<IConnection> getConnections(IScope scope) {
          if (scope == null) {
              return getConnections();
          }
          Set<IClient> scopeClients = scope.getClients();
          if (scopeClients.contains(this)) {
              for (IClient cli : scopeClients) {
                  if (this.equals(cli)) {
                      return cli.getConnections();
                  }
              }
          }
          return Collections.emptySet();
      }
docs: Return client connections to given scope
  
  @param scope
  Scope
  @return Set of connections for that scope