Added relay command to the RPC class