Only try connecting to vis server if websockets are supported