Added command execution and TCP terminating character receive