first version which be a echo server/client