Creation of chatclient
- Connection test