chat 1.0 achieve multiple clients with thread