Caricamento comandi da console nel cmdmanager.

Introduced --no-interactive option to implement the parsing of command from console.

The socket connection now is done with a dedicated method for testing purpose.