// -------------------------------------------------------------------------
  public void verifyRemoteHost(
      String hostname, String dialbackValue, String id, IMServerSession session) throws Exception {
    S2SConnector s2s = getS2SConnector(hostname);

    s2s.sendVerify(dialbackValue, id);

    if (!s2s.getSession().getDialbackValid()) {
      s2s.sendResult();
    }

    session.setTwinSession(s2s.getSession());
    s2s.getSession().setTwinSession(session);
  }