adding socket exception message to chat connection logging