Url with basepath

To integrate the client logger into our application we need more flexiblity with the url handling.

I think it is useful to have the client logger placed as an api