add raw samples count and fixes

added raw samples count to the binary cluster aggregator protocol for
weighting
fixed a connection problem in the aggserverpublisher that was causing a
great number of connections