There are some other things you can't do from the browser in addition to sockets. Full screen, camera, and microphone. But most games don't use that stuff.
This is not true, all of the things you mentioned are possible in modern browsers and are being standardized. However some of them require permission from the user.