Added TODO unit test for casting to integer in uri expression.
R# cleanup of ClientBase.cs