socket, echo server&client