basic support for IPV6

might require more testing