Add the ability to set the base endpoint URL

Greetings,

This PR simply exposes the ability to simply set the endpoint URL.  This is a quick way for developers using the library to make use of the separate base URL hostnames for TR and RU that were recently released (and in general, it's nice to have this flexibility).