Support authentication

I needed to authenticate to ESX so I added it.

This is the first time I worked on a NodeJS addon (and C++) so apologies for any glaring mistakes.