implement ddp method calls on server, for use with ddp client library