.......PS. [ZBX-26042] fixed agent redirection if host encryption settings are wrong (sboidenko)