wscp-test: Fix handful of issues in http-rpc.c