Adds support for vhosts