Adding option to control Oauth2 use of https when accessing self-signed ...

...service