Add protocol relative versions of getEmbeddedAbsoluteUrl() and getHostUrl() methods.
Merge branch 'release/2.1'