replace domain & host by raw_url
fix cross domain issue
raw_url is not used
raw_url is instance global
Merge branch 'referer-to-real-domain' into staging