pub fn validate_agentmux_url(url_str: &str) -> Result<(), String>
Validate an AgentMux URL for SSRF protection.
Only allows https:// or http://localhost/127.0.0.1/::1.