web socket connection a little processed