libwinpr-utils: implement basic Publisher/Subscriber pattern