[CDE-269] - Added missing scheme parameter for getHeaders call. Fixed ge...

...tRoot call and baseUrl calculation if a absolute is true but no root is passed. Added string utils override for path composition