Small refactoring of url handling in http client
Using variable for ppconsul headers path