Fixed Base for IPv4 / IPv6

This fixes the issue introduced in https://github.com/JuliaLang/Compat.jl/pull/36 - creating a new PR (and closing #36) due to the inclusion of squashed tests.