Reference implementation for the sketch protocol JSTP