User protocol relative urls

Hi,

I noticed that you are using a method to let the client configure if he wants to use the SSL api. This could be decided automatically by the browser by using protocol relative URL's. I do this all the time in my projects.

Tell me if i'm missing something, but i think the user doesn't need to specify if he wants to use SSL or not, he probably expects that we do the right thing (use SSL if we are in an SSL page, don't use it if we aren't).

Let me know what you think about this.

Cheers.