a basic implementation of the ddp protocol on the server, meant to be compatible with ddp-client