Add support for Proc as asset_host

Fixes #104