add ssl and basic auth options