Modified Core

Change host to server
Modified setServer method
Add an attribute to Connection

Add server attribute to Connection
Provide default setServer methods
Modified showError methods in Messanger
Add an error handler in DefaultCore

Some times the webclient is null, show error at that time