[Core] Chat system refactoring All chat function now call same method [s2078]

I also reworked the packet structure to be closer to the original.
Due to amount of code changed this commit, it needs to be applied carrefully.

Any feedback is welcome

(based on commit [12587] - 1af082e)