Added support for secure connection (SSL) to solve unsecure exceptions from browser when use in https sites.
Merge pull request #163 from upmauro/master

Added SSL (https) support using relative protocol.
Great, thank you!