Binary to IP Converter

Convert a binary string (32-bit for IPv4, 128-bit for IPv6) back to an IP address.