libcollectdclient: Introduce a "parser" callback.