code: private static String normalizeDomain(String value) {
          if (value.startsWith(".")) {
              return value.substring(1);
          }
          return value.toLowerCase();
      }
docs: Parse cookie domain.
  In RFC 6265, the leading dot will be ignored, and cookie always available in sub domains.
  
  @return the final domain