
Add the protocol for high-resolution timestamp events and subscribe to them if available. Event timestamps are now handled natively in nanoseconds as much as possible to avoid error-prone conversions. Variables have been appended with _ms or _ns where appropriate, to avoid ambiguity.