relative url processing in http client