protected function read()
{
$s = '';
while (($line = fgets($this->connection, 1000.0)) != NULL) {
// intentionally ==
$s .= $line;
if (substr($line, 3, 1) === ' ') {
break;
}
}
return $s;
}