Add client chat handler, comment some NPE

Signed-off-by: Karang <arthur.hennequin@free.fr>