Websockets initial working prototype