[minor] Starting to disable WebSockets based on `AVOID_WEBSOCKETS` property.