uipcps: ceft dft: use a Client instance also on replicas
uipcps: ceft dft: use a Client instance also on replicas

A replica may act as a client when it needs to register an
application name. In this way we reuse much of the code.

autrimpo/rlite,vmaffione/rlite,vmaffione/rlite,autrimpo/rlite,vmaffione/rlite,autrimpo/rlite,vmaffione/rlite,autrimpo/rlite