Add support for the :prefix option on HTTP hosts

Fixes #8