[fix] if there is no vhost property, default to the hostname of the url
[fix] if there is no vhost property, default to the hostname of the url

Rauno56/smart-private-npm,nodejitsu/smart-private-npm,cube-io/smart-private-npm,Rauno56/smart-private-npm,doublerebel/smart-private-npm,warehouseai/smart-private-npm,terinjokes/smart-private-npm,warehouseai/smart-private-npm,cube-io/smart-private-npm,doublerebel/smart-private-npm,nodejitsu/smart-private-npm,terinjokes/smart-private-npm,evanlucas/smart-private-npm