tests: In TestEncodeDecodeForwardingEntry.dumpForwardingEntry, fix printing of forwarding flags.
encoding: In BinaryXmlWireFormat.decodeForwardingEntry, need to copy the action ByteBuffer before converting to String.