Fixed ip error and made simple patch.
Added connection dialog to Server and Client classes.