private static function parseHeader($line, $position)
 {
     try {
         return Header::createFromString($line)->toArray();
     } catch (MalformedHttpHeaderException $e) {
         throw new MalformedHttpHeaderException(sprintf('Invalid header line at position %u: %s', $position + 2, $line), 0, $e);
     }
 }
 /**
  * @param $line
  * @param $position
  * @return array
  */
 private static function parseHeader($line, $position)
 {
     try {
         return $header = Header::createFromString($line)->toArray();
     } catch (MalformedHttpHeaderException $e) {
         throw new MalformedHttpHeaderException("Invalid header line at position " . ($position + 2) . ": " . $line, 0, $e);
     }
 }