Upgrade Java SDK to 2.0

New class constructor that allows injection of the API endpoint
(supports on-premise deployment) as well as connection timeouts.