Bug fix: processing node commands

* When node commands are processed, then buffer possition is
important too.
* Received node commands correspond to commands sent from server.