[Core] Add option to set port and enable/disable ssl