added support for the 'max_probes' query parameter