checks for valid ws when referencing clients[message[client]]