Adding getTextMessage() for messages of connection or fail from server
to client
Refactoring
Creating comments
Adding FAILED in the 'one argument' list