/**
  * Update the options on a running socket manager. Parameters in the I2PSocketOptions interface
  * may be changed directly with the setters; no need to use this method for those. This does NOT
  * update the underlying I2CP or tunnel options; use getSession().updateOptions() for that.
  *
  * <p>TODO There is no way to update the options on a subsession.
  *
  * @param options as created from a call to buildOptions(properties), non-null
  */
 public void setDefaultOptions(I2PSocketOptions options) {
   if (!(options instanceof ConnectionOptions)) throw new IllegalArgumentException();
   if (_log.shouldLog(Log.WARN))
     _log.warn("Changing options from:\n " + _defaultOptions + "\nto:\n " + options);
   _defaultOptions.updateAll((ConnectionOptions) options);
   _connectionManager.updateOptions();
 }