code: public static int getDefaultFlags(Type2Message type2) {
          if (type2 == null) return DEFAULT_FLAGS;
          int flags = NTLMSSP_NEGOTIATE_NTLM;
          flags |= ((type2.getFlags() & NTLMSSP_NEGOTIATE_UNICODE) != 0) ?
                  NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM;
          return flags;
      }
docs: Returns the default flags for a Type-3 message created in response
  to the given Type-2 message in the current environment.
  
  @return An <code>int</code> containing the default flags.