Respect server protocol (HTTP or HTTPS)
Merge pull request #6 from pztrn/master

Respect server protocol (HTTP or HTTPS)