Prototype implementation of sampling algorithms Bernoulli, n-in-N and sFlow.