This commit ensures that the WebSocket auto-configuration is guarded with class conditions on WebSocket classes (from the javax API and the spring-websocket artifact). This prevents issues where application without such dependencies are failing at startup.