Refactoring VHost configuration/processing