Adding support for AddrMessage encoding/decoding.