add more options for rpc with socket.io