title: Web socket fails on iOS
body: <p>My code attempts to create a websocket connection.</p>
  <p>It works on Windows, Mac and Ubuntu and on Safari, Firefox, Chrome and Edge.</p>
  <p>It does not work on iOS (iPhone and iPad) and I have tested this failure on Safari and Chrome only. I guess it may not work for other browsers on iOS too.</p>
  <p>I get the following error on iPad:</p>
  <blockquote>
  <p>error: Websocket connection to 'wss://XXXX' failed: The operation could not be completed. (kNWErrorDomainPOSIX error 14 - Bad address).</p>
  </blockquote>
  <p>On iPhone it gives a slightly different error:</p>
  <blockquote>
  <p>error: Websocket connection to 'wss://XXXX' failed: The operation could not be completed. kNWErrorDomainPOSIX error 100 - Protocol error.</p>
  </blockquote>
  <p>Where XXXX is a valid network address (domain name / remote IP / local network IP).</p>