Ich hab mich mal bissel umgesehen wegen "TCP_NODELAY", laut einer Anfrage wurde dies (schon länger her) gepacht (siehe hier: https://bugs.php.net/patch-display.php?bug=51879&patch=add-tcp-nodelay&revision=1297975503).
Hab create stream mir angeschaut:
...
function __construct($address, $port)
{
// FIXME: stream sockets don't support TCP_NODELAY, see https://bugs.php.net/bug.php?id=51879
$this->handle = stream_socket_client("tcp://$address:$port", $errno, $message);
....
Versuche mal folgendes Beispiel, was gehen sollte:
$opts = array(
'socket' => array(
'tcp_nodelay' => false,
),
);
$ctx = stream_context_create($opts);
$stream = stream_socket_client($uri, $errno, $errstr, $timeout, $flags, $ctx);