Added per-client type parser overrides.

Adds `Client#getTypeParser()` and `Client#setTypeParser()`.

Fixes #676.