title: using DDP in Node.js, how do you connect the client using a required simpler-config object?
body: <p>I'm using simpler-config to pull in a config object from a file, at load time. When inspecting the code, I can see that the config object got instantiated correctly, however, my call to ddp.client(config.ddp) is failing with the config object. Putting the data back into the client call in the form of a local object continues to work</p>
  
  <pre><code>var ddpclient = new client({
    // All properties optional, defaults shown 
    autoReconnect : true,
    autoReconnectTimer : 500,
    maintainCollections : true,
    url: 'ws://blahblah.com/websocket'
  });
  </code></pre>
  
  <p>Calling it as follows doesn't work:</p>
  
  <pre><code>var ddpclient = new client(config.ddp);
  </code></pre>
  
  <p>anyone know what I'm doing wrong?</p>