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.

Signed-off-by: k4rl85 <k4rl85@hotmail.com>