code: public static int getDefaultFlags ( CIFSContext tc, Type2Message type2 ) {
          if ( type2 == null )
              return getDefaultFlags(tc);
          int flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION;
          flags |= type2.getFlag(NTLMSSP_NEGOTIATE_UNICODE) ? 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.
  
  @param tc
  context to use
  @param type2
  The Type-2 message.
  @return An <code>int</code> containing the default flags.