Removed unused code
Recoded client

Some problem with socket and thread????