client and server connecting properly