Simple vhost support from commit 3b3d6d9dd778ecec7a5dd6ba5f8a469b940e5e8e