Add size validity checks for float & double types
Check that metadata ip_version is 4 or 6