iio-cmdclient.cs: Misc changes

Change coding style
IP-ADDR string: Allow appended port number
enhanced connect error checking

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>