Fix get_rel_url: returns subdomain URLs wihout modification
Check for URL host part
added test for load preference
Merge branch 'master' into jnweaver-fix_get_rel_path

* master:
  added test for load preference