Added support for https URLs. Fixes #51.