Update WebClientData

Use a thread safe client connection manager in WebClient
Modified DefaultWebClient

Deal with the errors in different ways.
Update Messenger classes

Remove homeDirectory attribute in constructor,
Change initialization process.