Partly reworked InputState handling on server side.

This seems to have fixed the bug where keys were Embermage continued walking after Firewalk