Add SSL support and some other features

The list of things is
* Remove redundancy in config manifest.
* Add support for SSL.
* Add ssl certificate, ssl key and motd file options.
* Fix requires.
* Rewrite the init script.
Fix conflicts.