Dealing with wss connection.