Refactorization of the https command line option

Renaming the flag variable and the Connector class.
Fixing command line options in init.d script

Adding missing "--host" option and fixing the declaration of other
command line options.