--- Test 1: Triggering LOST_REQUEST ---
*   Trying 127.0.0.1:8080...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to localhost (127.0.0.1) port 8080 (#0)
> POST /withdraw HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.81.0
> Accept: */*
> X-Fault-Mode: LOST_REQUEST
> X-Fault-Count: 1
> Content-Length: 58
> Content-Type: application/x-www-form-urlencoded
> 
} [58 bytes data]
* Empty reply from server

100    58    0     0  100    58      0    111 --:--:-- --:--:-- --:--:--   112
* Closing connection 0
curl: (52) Empty reply from server

--- Test 2: Retrying without fault ---
*   Trying 127.0.0.1:8080...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to localhost (127.0.0.1) port 8080 (#0)
> POST /withdraw HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.81.0
> Accept: */*
> X-Fault-Mode: NONE
> Content-Length: 58
> Content-Type: application/x-www-form-urlencoded
> 
} [58 bytes data]

100    58    0     0  100    58      0     41  0:00:01  0:00:01 --:--:--    42
100    58    0     0  100    58      0     22  0:00:02  0:00:02 --:--:--    22
100    58    0     0  100    58      0     15  0:00:03  0:00:03 --:--:--    15
100    58    0     0  100    58      0     11  0:00:05  0:00:04  0:00:01    11
100    58    0     0  100    58      0     11  0:00:05  0:00:05 --:--:--    11
100    58    0     0  100    58      0      9  0:00:06  0:00:06 --:--:--     0* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Date: Tue, 03 Nov 2026 19:05:22 GMT
< Content-type: application/json
< Content-length: 73
< 
{ [73 bytes data]

100   131  100    73  100    58     10      8  0:00:07  0:00:07 --:--:--    15
100   131  100    73  100    58     10      7  0:00:08  0:00:07  0:00:01    20
* Connection #0 to host localhost left intact
{"status":"INVALID_ACCOUNT","balance":null,"message":"Account not found"}