Fixed handling of IP addresses, now seralized / deseralized automatically into IPv4-mapped-IPv6 format. Currently assuming IPv4, no IPv6 support yet.