finally works with websockets
1.4.1