Pass resource referrer to HTTP client, use it as base URL in order to support relative URLs