Update vhost example to function

This updates the vhost example to remove all the features that have
long ago been removed and added to express.
Merge pull request #918 from dougwilson/fix/vhost-example

Update vhost example to function