Updated connect method

Updated the connect methods so they don't always return true, but infact
show whether it is connected or not. Also added a "Connected" property
so one can test if it is connected.