encoding: Implement encode/decode of ForwardingEntry.