.......PS. [ZBX-8476] ported r47741 and a part of r47979 from the old branch: made proxy send its nanoseconds together with regular seconds and ns is not assigned -1 anymore