Add basic subscription functionality to server, hack publisher registration issue in client.