client: Estimate speed and direction

Read the noisy observations sent by server and estimate speed and direction.
Speed is computed simply by looking at the first and last element for the last
10 received messages, and direction is estimated using OLS regression from the
last 10 received messages.

Signed-off-by: Aki Saarinen <aki@akisaarinen.fi>