title: chrome extenstion background - socket.io connect to https instead of http
body: <p>I'm using <strong>Socket.io</strong> for Google Chrome extension in background to connect to a http socket server. But whatever I put into the code, the socket.io always try to connect to <code>https</code> instead of <code>http</code>. How can I force socket client to always connect over http?</p>
  
  <p>I'm calling the function from a context page on a https page, is that the problem?</p>
  
  <pre><code>socket = io.connect( 'http://192.168.1.2:5000/?id=10&amp;token=abjnhikn==' , {secure: false} );
  socket.connect();
  </code></pre>