Made some fixes in ClientRequest class.