private function setStatus($status, $reasonPhrase = '')
    {
        HttpCodes::check($status);
        $this->status = intval($status, 10);
        if ($reasonPhrase === '') {
            $this->reasonPhrase = HttpCodes::reasonPhraseFor($this->status);
        }
    }