adding paging and resource facets in the result header
honor empty x-context-param when forming url