Properly shut down handler.
Add test for getting stats.
Be more consistent in naming convention of stats output.
Update doc strings etc.
Adhere to naming convention.
Remove superfluous var.
Move main to normal src directory and add first unit tests for main.
Improve coverage of -main function and remove forced termination via System/exit.
Add simple tests for forwarders.
Add IPv6 tests.