Add support for HTTPS connections to the backend