The tcprtt utility reliably measures the TCP handshake round trip time using the stats(9) statistics framework.