1. make all classes threadsafe
2. add log to trace features
3. set serverprx timeout to 1000, so call server will not hang up and we
   can get big data from server
4. not only register client but also get data from server in timer run,
   so we can get changes between the preriod that we lost connection to
   server
5. add check of new config, and only update config when it is really
   changed
Merge pull request #3 from tgch/master

client adds more exeption catch and debug log