protected function readChunkHeader()
	{
		static $m = NULL;
		
		if(preg_match("'([a-fA-F0-9]+).*\r\n'", $this->buffer, $m))
		{
			$this->remainder = hexdec($m[1]);
			$this->buffer = (string)substr($this->buffer, strlen($m[0]));
		}
		else
		{
			$this->remainder = 0;
		}
	}