This is part of the original code and not a change I made, you have a couple of options - disable strict standards in your PHP... or try the below. I'm not 100% certain on this fix as apparently I don't have strict standards enabled :)
$ready = socket_select($this->read, $write = NULL, $except = NULL, 0); // For blocking: $tv_sec = NULL);
To the following:
$write = $expect = NULL;
$ready = socket_select($this->read, $write, $except, 0); // For blocking: $tv_sec = NULL);