xhttp_rpc: fix arg parsing
(cherry picked from commit 3615f3c26405f1c1bcd3721674e9d87e4b589146)