First working master device code.

Master sends discovery requests on the network, keeps track of active devices,
and polls them at the specified interval.

Master sends status update info to the server.
Simple example server client for the device master.

It requests initial full dump from master device, and then parses status
messages.