/// <summary>
        /// Initialise a new <see cref="CruiseServerClient"/>.
        /// </summary>
        /// <param name="cruiseServer"></param>
        public CruiseServerClient(ICruiseServer cruiseServer)
        {
            this.cruiseServer = cruiseServer;

            // Retrieve any associated channel security
            var server = cruiseServer as CruiseServer;
            if ((server != null) &&
                (server.SecurityManager != null))
            {
                channelSecurity = server.SecurityManager.Channel;
            }
        }
        /// <summary>
        /// Initialise a new <see cref="CruiseServerClient"/>.
        /// </summary>
        /// <param name="cruiseServer"></param>
        public CruiseServerClient(ICruiseServer cruiseServer)
        {
            this.cruiseServer = cruiseServer;

            // Retrieve any associated channel security
            var server = cruiseServer as CruiseServer;

            if ((server != null) &&
                (server.SecurityManager != null))
            {
                channelSecurity = server.SecurityManager.Channel;
            }
        }