protected function dispatchHttpStatus($header)
    {
         $statuses = array();
         $result = preg_match('/^http\/[1|2]\.\d (\d{3}) (.*)$/i', $header, $statuses);

         if ($result < 1) {
             $this->throwException();
         }

         // Code, status text
         return array((int)$statuses[1], $statuses[2]);
    }