Hostmanager support.

Attached PR handles multiple vhosts to be used as hostmanager aliases.