title: Flutter - http.get fails on macos build target: Connection failed
body: <p>I started porting my Flutter app to <strong>macos Desktop</strong>. The UI started fine. However, as soon as the app makes a network call, it fails instantly with <strong>Connection failed (OS Error: Operation not permitted)</strong>.</p>
  
  <p>Running a one-liner: </p>
  
  <pre><code>final response = await http.get('https://jsonplaceholder.typicode.com/posts/1');
  </code></pre>
  
  <p>fails with: </p>
  
  <pre><code>Unhandled Exception: SocketException: Connection failed (OS Error: 
      Operation not permitted, errno = 1),
           address = jsonplaceholder.typicode.com, port = 443
  #0      IOClient.send (package:http/src/io_client.dart:33:23)
  </code></pre>
  
  <p>The macos build target comes from Google's sample <a href="https://github.com/google/flutter-desktop-embedding" rel="noreferrer">here</a>.</p>
  
  <p><em>Flutter (Channel master, v1.9.8-pre.108)</em></p>