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