Plugin URL issue

I believe this is all that needed to be changed for the plugin to keep the SSL portion of the url intact if the page has it enabled.

Let me know if you think otherwise or see any issues with this.