title: Socket.io SSL error
body: <p>I'm trying to secure my web-site</p>
  
  <p>Everything was ok until I've finally installed SSL certificate (from CloudFlare, not a self-signed one)</p>
  
  <p>So the problem is: when I'm opening my site via HTTP - everything works perfectly, but when I'm opening it via https - site is losing connection to the host (it's needed to work)</p>
  
  <p>In console I can see: </p>
  
  <blockquote>
    <p>socket.io-1.4.5.js:1 GET <a href="https://188.226.131.219:8080/socket.io/?EIO=3&amp;transport=polling&amp;t=LlI-URk" rel="noreferrer">https://188.226.131.219:8080/socket.io/?EIO=3&amp;transport=polling&amp;t=LlI-URk</a> net::ERR_CONNECTION_CLOSED</p>
  </blockquote>
  
  <p>If I understood correctly here is a problem with ports. Using HTTP port 80 is ok and using https port 443 has problems. Is there any way to swap ports?</p>