TODO Add kill signal.
Integrated commands interpreter with main daemon.

Also added new exception for when we really don't know what the hell is with
the issued command.
Better resource handling for sockets in __listen_external.

Earlier try catch means I can handle flushing the socket better.
Indentation and imports fix.