Parse headers

This is very basic, but works at first blush.