IsBinary returns true if the content type indicates binary content.
Falls back to UTF-8 validation when contentType is empty or unrecognized
and data is provided.
Classify returns the broad content category for a content-type header value.
Uses mime.ParseMediaType to strip parameters (charset, boundary, etc.)
before matching. Falls back to strings.ToLower for malformed values.
Returns Binary for empty content-type strings.