Added a way to parse headers