websocket example
From http://www.websocket.org/echo.html