use proper docstring
use iterator for lines received in a callback
documentation and example cleanups
thinkering with code organization
update requirements
added support to send data to remote aggregator
ensure port is an integer