implemented UDP echo mechanism