Client receives a notification if the receipient in a chat message is not valid
Tried to solve the segfault when server disconnects. Trims spaces at the start and end of the chat message