Parses header and separates token

Skips white spaces