Sign on process: New client client server HELO SIGNUP PLAYER_CODE Existing client client server HELO LOGIN LOGIN_OK Expired login client server HELO LOGIN PLAYER_CODE Anything else client server HELO HOST ERROR This is the only scenario where an error is followed by an immediate close frame. Room join process: Create new room client server HOSTJOIN HOST ROOM_CODE Join an existing room client server HOSTJOIN JOIN JOIN_OK Join an expired room client server HOSTJOIN JOIN BAD_ROOM At this point the client is responsible for procuring a new room code