Add support for generating urls from client request header