Ipnets / IPAddr compatibility

See also https://github.com/JuliaLang/Compat.jl/pull/28. This is necessary to make IPNets backward-compatible with 0.3.0. Validated that this eliminated warnings/errors on 0.3.4.