ssl protocol support

Sso will make redirection to the "requested url" after identity verification.
`service` , which is provided by Sso client, 

Sso client is using `controller#url_for(params)` method to get the requested url.
If you don't specify :protocol , it would default to 'http'.

Now we are using https://spcc.activebilling.com.au/ as well as http://spcc.ab.dc/
So we need to support both.

`controller#protocol` returns something like `http://` or `https://` , so we need to extract the real protocol part.