Support HTTPS (where R supports -- i.e. Windows)

All tests pass. Closes #1.