Check that IP is v4, formatting tweaks