Fix the client
(Bug on cmd == "\n" chomped)
Improve modt from client&server
Improve log on connection failure (id of the user is reported)