go, python: built-in latency estimate in protocol

(not backward-compatible)