HPCC-10389 add onEcho method

Signed-off-by: Rodrigo Pastrana <Rodrigo.Pastrana@lexisnexis.com>