server_thread implemented,test.sh added.TODO server_select