validate client parameters before connection