PayloadParser refactor

Need to refactor a few more tests. Otherwise, this is done.
I would suggest to NOT advance the cursor if we haven't proceed anything as that is clearly an error (and should be catched).