Working on websockets