Ejecutando la programación del lado Web Socket Client

Acabo de leer sobre sockets web y escribí este sencillo script Java del lado del cliente. Pero no me da ninguna salida, incluso si corro en el navegador Chrome y no sé qué es la FALTA? Puede ser que google.com no soporta sockets web?

<!DOCTYPE html>
<html>
<head>
    <title>Web socket Experiment</title>
    <script type="text/javascript">
        function callWebSocket() {

            var socket = new WebSocket("ws://www.google.com");

            socket.onopen = function () {
                alert("Hello, Connected To WS server");
            };

            socket.onmessage = function (e) {
                alert("The message received is : " + e.data);
            };
            socket.onerror = function (e) {
                alert("An error occured while connecting... " + e.data);
            };
            socket.onclose = function () {
                alert("hello.. The coonection has been clsoed");
            };

        }
    </script>
</head>

<body>
    <input type="button" value="Open Connecton" onclcik="callWebSocket()" />
</body>
</html>

Por favor ayuda..

Gracias
Sneha