Allow for SSL and basic auth to be set