XML parsers should not use 65 kB arrays in stack for parsing XML file

The static parse functions for Client/Server/PubSub are using a local variable array of 65 kB. It should be allocated instead to be able to detect when there is not enough memory for this array.

Should we update the coding rules to have a maximum length size ? And we might activate GCC -Wstack-usage to enforce this maximum limit ?