Added client connection testing