Implementation of RedXML protocol.