Troubles with webSockets. Ready to fix