server: fix packet id parsing
server: implement time diff calculation
client: add a small todo list