Removing dependency on vhost middleware. Issue #143.