There's a »varnish« proxy in front of your second server. It disturbs the timing of your script. You should generally not rely on timing when returning your response, precisely because there might be a proxyserver in the way. You might want to use some sort of polling or WebSockets instead.
$ nc shoma.info 80
GET /test/1.php HTTP/1.1
Host: shoma.info
Connection: close
HTTP/1.1 200 OK
Server: Apache
X-Powered-By: PHP/5.3.28
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 209
Accept-Ranges: bytes
Date: Sat, 22 Mar 2014 19:18:40 GMT
X-Varnish: 972965439
Age: 0
Via: 1.1 varnish <------- this is the problem
Connection: close
<br> Line 0 to show.<br> Line 1 to show.<br> Line 2 to show.<br> Line 3 to show.<br> Line 4 to show.<br> Line 5 to show.<br> Line 6 to show.<br> Line 7 to show.<br> Line 8 to show.<br> Line 9 to show.<br>Done.
BTW: My firefox here doesn't even show the »animation« of your first server. So you can't even rely on the browser displaying it.