rockminer: implement --device-protocol-dump for debugging