Fixes 405 errors on /tools/* POST endpoints (smart-select, remove-background-to-layer, etc.) by proxying to backend.