hopefully fixed dual ipv4/6 support

made it map ipv4 to ipv6 only if the length is shorter than an ipv6 address