afb-ws-json1: expose addref/unref functions