Feature/cli https

Hi there, I've tested this feature with and without https. Both work fine.

Please note i've changed require('./host.js) to require('./lib/host.js' )