gen fn connectServer(contract: String) -> String
Emits a module exposing connectHandle(req: Request) -> Option<Response>. The generator and its module link into one flat namespace, so the generator cannot itself be named connectHandle (as rpcServer emits rpcHandle).