Add support for virtual host buckets

Fixes #8.