HDDS-7586 completely removed client-side validation of bucket names.
Most of the name checks still apply to bucket names regardless of the strictness setting. E.g. name should not be null, too short, too long, etc.
Removing client-side validation introduces two problems:
- usability: previously these were rejected at the client with specific message, but now we only get a generic message from OM
- performance: validation requires round-trip to OM
The goal of this task is to restore client-side validation, always checking names with strict=false setting. This catches most cases at the client with the more specific message. Server (OM) will still reject names with _ if it's set to strict=true.