Document setEndpoint and deprecate setUseSSL