[Koha-bugs] [Bug 43516] New: Harden the frontend HttpClient and add a shared API error formatter