Turn connected into an enum to to handle connecting state
Use the IP address if it’s set in the textfield. N.B. port is not taken into account yet
State now uses KVO