Issue #28: Add support for HTTPS connections to the backend

See issue #28