public function protocolVersion()
    {
        if (!$this->headers->contain('SERVER_PROTOCOL')) {
            return new HttpVersion(1, 0);
        }

        try {
            return HttpVersion::fromString($this->headers->value('SERVER_PROTOCOL')->value());
        } catch (\InvalidArgumentException $ex) {
            return null;
        }
    }