*I changed the background thread method.
It is possible to display message from the server but... only one message
can be sent to the server when the socket is opened.