PM-757: Improve XML quoting for netlogger messages