@Override
    public GuacamoleWriter getWriter() {
        return writer;
    }
Creates a new InetGuacamoleSocket which reads and writes instructions
to the Guacamole instruction stream of the Guacamole proxy server
running at the given hostname and port.

@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/InetGuacamoleSocket.java