HPCC-9389 Add testsocket control:querypackageinfo support

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