Capitilization on self.CONNECTED. It is also now set to True only after
the socket has connected successfully