Erlang port:
   - protocol now makes use of default packet size feature;
   - protocol now supports an arbitrary number of top-n matches.