protocol: executeCommand
CommandExecutor extracted
executeCommand: more checks on reading a command
CommandExecutor reviewed with mvlassiev
protocol completed