[socket] tcp/udp client/server demo
[threading] use threading to communicate with client