Adding support for https from command line for client_type option