slightly modified meteor-ddp lib