Some basic header parser, no idea if this will lead anywhere.