nhdp_reader -> reader
fix struct names in writer
hook up reader
use the right variables
use line buffering to not lose log output
set up forewarding