Added ability to limit statistics via HTTP params.