mdm prototype for http rpc