Revert IPv6 address serialization to be compatible with network library