Added support for sending XML messages from client to server