Update engine.rb

support relative protocol when asset_host is present