Added options to define the port and ssl options