just starting to write ctor for agent and most functionality for probe listener (on port p+1)