Fix: Hardening command send operation

Sanitize data while building the command string and use default
values by xml definition.