HTML 5 Build - Socket

Hey devs.

I read that Socket was removed from the build a few years back to keep the size down.

Does anyone know how to add it back in. Trying to get photon to run in a browser.