.......PS. [ZBX-8035] made it so that nextcheck calculation on the server is as close as possible to that on the proxy; introduced zbx_bool_t with ZBX_TRUE and ZBX_FALSE