WebSocket connection fails on Chrome without SSL : <p>I'm setting up a WebSocket between a standard web page and a Tomcat v7.0.62 server.  The connection works fine with Tomcat SSL turned on/off on Firefox, Edge and IE11.  However, in Chrome (v66.03), the websocket only connects when I've turned on SSL on the server and connect via https.  In Chrome, when I turn SSL off on the server and try to connect via http, it throws an error.</p>

<p>Here's the error Chrome throws when trying to connect via http with SSL turned off on Tomcat...</p>

<pre><code>Error in connection establishment: net::ERR_PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION
</code></pre>

<p>Here's my WebSocket connection code on the client...</p>

<pre><code>var wss = "wss://";
if (document.location.protocol === "http:") {
   wss = "ws://";
}
var wsURL = wss + document.location.host + "/status?sessionId=&lt;%=session.getId()%&gt;";
</code></pre>

<p>Is this something Chrome specific that needs special code on non-https websocket connections?</p>
