Have fixed some stuff at server
Have added an Chat example.