.......... [ZBX-6596] updated to the latest /trunk
.......PS. [ZBX-8040] made use of multiline reading functions