add validator to echo-server