Some changes, dont poke into the php socket read buffer.