Extended header parsing

Signed-off-by: Alexander Kluth <derhartmut@niwohlos.org>