@Override
    public void close() throws GuacamoleException {
        try {
            logger.debug("Closing socket to guacd.");
            sock.close();
        }
        catch (IOException e) {
            throw new GuacamoleServerException(e);
        }
    }
Creates a new SSLGuacamoleSocket which reads and writes instructions
to the Guacamole instruction stream of the Guacamole proxy server
running at the given hostname and port using SSL.

@param hostname The hostname of the Guacamole proxy server to connect to.
@param port The port of the Guacamole proxy server to connect to.
@throws GuacamoleException If an error occurs while connecting to the
                           Guacamole proxy server.
guacamole-common/src/main/java/org/apache/guacamole/net/SSLGuacamoleSocket.java