cli: validate args in /connect command

Change-Id: I785672abf85b317379604e9b30db0687b8a9653d
Signed-off-by: Michael pasternak <mpastern@redhat.com>