HPCC-9022 Allow testsocket to read query from stdin

Minor change following code review

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>