Added functions to parse the command key.
Forgot to #include <map>, now compiles.
Added basic NetworkClient state handling.
Use override for virtual function overrides. Added comments.