Added a connection status enumeration.