renamed parse_header to split_header