handle ws ping/pong