make simple-rpc self-contained