lib: Move parseReceivedCmd from runtime to commandstream

More symmetrical to have inbound and outgoing command parsing
in same module, and needed to reuse in new DeviceCommunication
Decouple communication start/stop from network start/stop