Security improvements and bug fix

Added an option to force xmlrpc on ssl (need a reverse proxy ssl) (Fix #657)
Added a check for empty values when initializing configuration file (Fix #634)