pub fn resolve_socket(socket: Option<PathBuf>) -> Result<PathBuf>
Resolves the control-socket path: the explicit override, or the per-user default from paths::socket_path.
paths::socket_path