Below is a simple description of how to implement a two way ping measuring which
calculates the values for both server -> client and client -> server,
as these can differ on asymmetric routes.
To work around clock differences, the system uses the date and time of the
initial connection as it's origin.
Each side will calculate their roundtrip to the respective remote, and will then transmit it to them in order to create a shared state of the roundtrip time information.