- add missing settings support (ConnectRetryDelay, etc.)
- finish support for server mode
