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.

Fixes #882