Log reasons for disconnecting a websocket client.