Adding support for encoding/decoding network addresses.