Slowly making the client work, now its possible to connect and talk using
this chat, unfortunately while exiting there are still errors on both sides
(client and server) and need to fix few things with gui (it still isnt as it's
supposed to be).