make RemoteCDXServer api conform to LocalCDXServer api, addressing #19