public HttpServer(string url)
        {
            Uri    uri;
            string str;

            if (url == null)
            {
                throw new ArgumentNullException("url");
            }
            if (url.Length == 0)
            {
                throw new ArgumentException("An empty string.", "url");
            }
            if (!HttpServer.tryCreateUri(url, out uri, out str))
            {
                throw new ArgumentException(str, "url");
            }
            string    host     = HttpServer.getHost(uri);
            IPAddress pAddress = host.ToIPAddress();

            if (!pAddress.IsLocal())
            {
                throw new ArgumentException(string.Concat("The host part isn't a local host name: ", url), "url");
            }
            this.init(host, pAddress, uri.Port, uri.Scheme == "https");
        }