public static byte[] extractOverrides(byte[] values) {
    byte override = values[0];
    byte[] overrides = new byte[1];
    for (int item = 0; item < overrides.length; item++) {
      overrides[item] = (byte) (override & 0x03);
      override = (byte) (override >>> 2);
    }
    return overrides;
  }
Clone a HandShake to be used in creating other connections
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/Handshake.java