public function getArticleHeadersByNumber(int $number): Generator
    {
        yield from $this->sendCommand(new Command('HEAD', (string)$number));

        $data = yield from $this->encoder->readData($this->stream);
        return HeaderBag::parse($data);
    }