refactor(parser): move header parser out to separate fn
feat(parser): parse body