Fixed _parse_header to take error as a parameter.
Merge pull request #39 from PhilipHomburg/abuf-fix

Fixed _parse_header to take error as a parameter.