This class represents the current state of the connection
- whether the control connection is secured or not
- whether the data connection is secured or not
It embeds the socket and also handles the communication with the server
because it knows to use a SSL or a plain text socket.