issue #1049 : adding config param sslSelfSigned to make use of self sign...

...ed ssl  certificate possible (default 0 : not using self signed certs)

Also correcting missing "getProtocol" in OAuthController.php