Connect to internal networks
Fix IP obtention
Minor: comments
Set debug level with -v
Treat the Ctrl-C
Minor
Try to improve the shutdown