Adds support for HTTPS & Basic Auth by changing the initialization semantics of the node client

Hey @mattweber I hope this is cool.  I had a bit of time tonight and made a patch that seems to fix #18 and #18

Cheers!
Brian