add class for XML, check UDP protocol