Using the WebSockets interface to speech recognition