HPCC-9022 Allow testsocket to read query from stdin

Potentiall handy for using testsocket via PIPE, for example for roxie query
regression tests.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>