Implemented parser buffer shifting.
Added userdata member to parser.