Allow injecting a parser into client

This will ease using custom parsers in dependent libraries
Release 0.8.0