s3-net: restructure "net rpc service" and add open_service().