Revert "Revert "[HTML5] Implementation of WebSockets (framework)."

This reverts commit 3d11722ed8214558850d62f29e21dc98aed1fdfb.