Added method 'BuildUri' in Restclient.cs