Add the ClientBase class
Client: Change the base class to ClientBase one
RegistrarClient: Change the base class to ClientBase one
ClientBase: Fix bug with calling virtual SetHost method from the constructor