code: public IConnection lookupConnection(IClient client) {
          for (IClient cli : clients) {
              if (cli.equals(client)) {
                  Set<IConnection> set = cli.getConnections();
                  if (set.size() > 1) {
                      log.warn("Client connections exceeded expected single count; size: {}", set.size());
                  }
                  return set.iterator().next();
              }
          }
          return null;
      }
docs: {@inheritDoc}