feat(Resource): add a flexible request/response customization mechanism.

This allows to easily implement pagination and other niceties on
the lib user side.
chore(release): v0.4.3