public Builder setSSLConnector(final SSLConnector connector) {
            if (connector == null) {
                throw(new IllegalArgumentException("SSLConnector cannot be null"));
            }
            if (config.sslContext != null) {
                throw(new IllegalArgumentException("SSLConnector and SSLContext can not both be set"));
            }

            config.sslConnector = connector;
            return this;
        }