Add multi-threaded version of project 1

Thorough test has not been done yet. Only the test for whether multiple
client can simultaneously connect to the server has been done.