Add asset host support

Issue #60 originally contained this fix as coded by @blakeharv but had an extra commit. @j15e requested that the commit be dropped and that this fix be rebased onto master.

Since we'd like to use this fix, we decided to fork, then cherry-pick the fix from the other fork. :)