You want to expose all of POSIX to some page with a one-time POSIX permission click? I can see a very limited need for raw TCP and UDP, but even in those there is a tremendous potential to have single pages knowingly or unknowingly (with the number of JS scripts people embed from 3rd party sources these days) leverage their users into a terabit DoS bandwidth weapon.