[mr2982] Some movement packet fixes, taking into account client/server connection lag

Picked from TC, where ported from http://sourceforge.net/p/ascentemubackup/code/1637/

Tested, works fine.