Documentation improvements.
PHP: add a wait condition before sending the probe

php-readline is draining the input queue when it's setup, killing our probe.