Fix OSSupportsIPv4 and simplify

Socket's static ctor already calls CheckProtocolSupport(), regardless of
NET_2_1, so there's no need to maintain a separate implementation.
Furthermore, OSSupportsIPv4 should be available regardless of NET_2_1 as
well.