SSL support and config files.

- Moved configuration to config files. (Modules still hardcoded)
- Added support for SSL servers.