Connected is a Boolean function used to indicate when the connection to the peer is open and active. Connected calls
CheckForDisconnect to to determine if the connection was closed normally or abruptly terminated, and returns true when the
IOHandler indicates that it is Connected.